package com.jprocms.module.cms.controller.admin.content.vo;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Schema(description = "内容 - 不通过流程任务的 Request VO")
@Data
public class ContentTaskRejectReqVO {

    /**
     * ID
     */
    @Schema(description = "内容ID", required = true, example = "1024")
    @NotNull
    private Long id;

    @Schema(description = "任务编号", required = true, example = "1024")
    @NotEmpty(message = "任务编号不能为空")
    private String taskId;

    @Schema(description = "审批意见", required = true, example = "不错不错！")
    @NotEmpty(message = "审批意见不能为空")
    private String reason;

}
